package com.cssw.fyzb.tps.config.tf56pay;

import lombok.Getter;
import lombok.Setter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @Author: yangyiqun
 */
@Component
@Getter
@Setter
public class TfpayConfig {

    @Value("${config.tfpay.url:https://openapitest.tf56.com/service/api}")
    private String url ;

    @Value("${config.tfpay.appid}")
    private String appid;

    @Value("${config.tfpay.signType:RSA}")
    private String signType;

    @Value("${config.tfpay.keyPassword}")
    private String keyPassword ;

    @Value("${config.tfpay.payUuid}")
    private String payUuid ;

    @Value("${config.tfpay.payNotifyUrl}")
    private String payNotifyUrl ;

    @Value("${config.tfpay.signNotifyUrl}")
    private String signNotifyUrl ;

    @Value("${config.tfpay.pfxFileName:te}")
    private String pfxFileName;

    @Value("${config.tfpay.refundNotifyUrl}")
    private String refundNotifyUrl ;
}
